Release 10.1A: OpenEdge Development:
Messaging and ESB


getMessagePartByID function

Retrieves a message part corresponding to the given contentID.

Syntax

FUNCTION getMessagePartByID RETURNS CHARACTER 
  (INPUT contentID AS INTEGER, OUTPUT messagePartH AS HANDLE). 

Applies to

Message objects

Note

When you use the same handle variable to retrieve multiple message parts, after each retrieval, call the deleteMessage procedure on the handle variable to free the message part.

See also

createMultipartMessage procedure, addBytesPart procedure, addMessagePart procedure, addTextPart procedure, isMessagePart function, getPartCount function, getMessagePartByID function, getMessagePartByIndex function, writeBytesFromRaw procedure, readBytesToRaw procedure, setMemptr procedure, getMEMPTR function

For more information, see the "MultipartMessage" section and the "MultiPartMessage example" section.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095